home *** CD-ROM | disk | FTP | other *** search
/ Software of the Month Club 2000 October / Software of the Month - Ultimate Collection Shareware 277.iso / pc / PROGRAMS / UTILITY / WINLINUX / DATA1.CAB / programs_-_include / ASM-ARM / PROC-ARM.{21 / ELF.H < prev    next >
C/C++ Source or Header  |  1999-09-17  |  413b  |  22 lines

  1. /*
  2.  * ELF definitions for 32-bit CPUs
  3.  */
  4.  
  5. #define ELF_EXEC_PAGESIZE    4096
  6.  
  7. /* We can execute both 32-bit and 26-bit code. */
  8. #define ELF_PROC_OK(x)        (1)
  9.  
  10. #ifdef __KERNEL__
  11.  
  12. #if 0        /* not yet */
  13. #define SET_PERSONALITY(ex,ibcs2) \
  14.     current_personality = (ex->e_flags & EF_ARM_APCS26) ? \
  15.     PER_LINUX : PER_LINUX_32BIT
  16. #else
  17. #define SET_PERSONALITY(ex,ibcs2) \
  18.     current->personality = PER_LINUX_32BIT
  19. #endif
  20.  
  21. #endif
  22.